package com.gdpu.project.vo;

import java.util.Date;

/**
 * Email entity
 */

public class Email implements java.io.Serializable {

	// Fields

	private Integer emailId;
	private String receiver;
	private String sender;
	private String emailTitle;
	private String emailInfo;
	private String file;
	private Date fsTime;
	private Integer readFlag;

	// Constructors

	/** default constructor */
	public Email() {
	}

	/** full constructor */
	public Email(String receiver, String sender, String emailTitle,
			String emailInfo, String file, Date fsTime, Integer readFlag) {
		this.receiver = receiver;
		this.sender = sender;
		this.emailTitle = emailTitle;
		this.emailInfo = emailInfo;
		this.file = file;
		this.fsTime = fsTime;
		this.readFlag = readFlag;
	}

	// Property accessors

	public Integer getEmailId() {
		return this.emailId;
	}

	public void setEmailId(Integer emailId) {
		this.emailId = emailId;
	}

	public String getReceiver() {
		return this.receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getSender() {
		return this.sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getEmailTitle() {
		return this.emailTitle;
	}

	public void setEmailTitle(String emailTitle) {
		this.emailTitle = emailTitle;
	}

	public String getEmailInfo() {
		return this.emailInfo;
	}

	public void setEmailInfo(String emailInfo) {
		this.emailInfo = emailInfo;
	}

	public String getFile() {
		return this.file;
	}

	public void setFile(String file) {
		this.file = file;
	}

	public Date getFsTime() {
		return this.fsTime;
	}

	public void setFsTime(Date fsTime) {
		this.fsTime = fsTime;
	}

	public Integer getReadFlag() {
		return this.readFlag;
	}

	public void setReadFlag(Integer readFlag) {
		this.readFlag = readFlag;
	}

}